package day05;

public class Inc {
   static int i =0;
    public static void main(String[] args) {
        Inc inc = new Inc();

        inc.fermin(i);
        i = i++;
        System.out.println(i++);
        System.out.println(i);
        //System.out.println(i++);
        System.out.println(++i);
    }
    void fermin(int i){
        i = i++;
        System.out.println(i++);
        ++i;
        System.out.println(i);
    }
}

